package com.ljy.tkmodel.mapper;

import com.ljy.tkmodel.entity.LjyZhuanshuoChapter;
import com.ljy.tkmodel.entity.LjyZhuanshuoQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljy.tkmodel.entity.vo.LjyEasyZhuanshuoChapterVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

/**
 * <p>
 * 专硕题库 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-01-04
 */
@Mapper
public interface LjyZhuanshuoQuestionMapper extends BaseMapper<LjyZhuanshuoQuestion> {
    //根据sql语句快查学科章节
    ArrayList<LjyEasyZhuanshuoChapterVO> getEasyChapterMapperAll();
    //查询全部题 简单查询用于测试mapper
    ArrayList<LjyZhuanshuoQuestion> getQuestionAll();

    //异步查询题
    ArrayList<LjyZhuanshuoQuestion> AsyncQueryQuestion(Integer chapterId);
}
